package org.dallasrowing.model;

public class BoatTestUtil {

	public static final String DOUBLE_A = "Double A";
	public static final String PAIR_A = "Pair A";


	public static final Boat[] dbBoats = new Boat[] {
		BoatTestUtil.newDouble(0, DOUBLE_A ),
		BoatTestUtil.newCoxedPair(1, PAIR_A ) 
	};
	
	public static Boat newDouble(int id, String boatName) {
		return new Boat( id, boatName, 2, false);
	}

	public static Boat newCoxedPair(int id, String boatName) {
		return new Boat( id, boatName, 2, true);
	}

	public static Boat newDBInstance(int boatId) {
		return dbBoats[ boatId ];
	}

}
